home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / mgr / sparcmgr / misc.zoo / misc / Makefile < prev    next >
Encoding:
Makefile  |  1989-01-24  |  1.6 KB  |  60 lines

  1. #                        Copyright (c) 1988 Bellcore
  2. #                            All Rights Reserved
  3. #       Permission is granted to copy or use this program, EXCEPT that it
  4. #       may not be sold for profit, the copyright notice must be reproduced
  5. #       on copies, and credit should be given to Bellcore where it is due.
  6. #       BELLCORE MAKES NO WARRANTY AND ACCEPTS NO LIABILITY FOR THIS PROGRAM.
  7.  
  8. #    $Header: Makefile,v 4.1 88/08/24 15:53:38 bianchi Exp $
  9. #    $Source: /tmp/mgrsrc/misc/RCS/Makefile,v $
  10.  
  11. # utilities stuff for mgr
  12.  
  13. INCL = ../lib
  14. OTHER = Makefile README cshrc login map mgr.ti mgrc plot termcap tree.out mgrc
  15. START=.
  16. CPIO=util.cpio
  17. CFLAGS = -O -I$(INCL)
  18. UTIL_BIN = /usr/local/bin
  19. MANDIR = $(UTIL_BIN)/../man
  20. MGR=../src
  21.  
  22. CFILES = lasergrafix.c tjfilter.c getscreen.c rotate.c hp_raster.c
  23. ALL = lasergrafix tjfilter getscreen rotate hp_raster
  24. OTHER = README Makefile mgr.ti termcap map plot tree.out
  25.  
  26. all:    $(ALL)
  27.  
  28.  
  29. getscreen:    getscreen.o 
  30.         cc $(CFLAGS) -o getscreen getscreen.o
  31.  
  32. lasergrafix:    lasergrafix.o $(MGR)/bitmaphead.o
  33.         cc $(CFLAGS) -o lasergrafix lasergrafix.o $(MGR)/bitmaphead.o
  34.  
  35. rotate:        rotate.o $(MGR)/bitmaphead.o
  36.         cc $(CFLAGS) -o rotate rotate.o $(MGR)/bitmaphead.o
  37.  
  38. tjfilter:    tjfilter.o $(MGR)/bitmaphead.o
  39.         cc $(CFLAGS) -o tjfilter tjfilter.o $(MGR)/bitmaphead.o
  40.  
  41. hp_raster:    hp_raster.o 
  42.         cc $(CFLAGS) -o hp_raster hp_raster.o
  43.  
  44. install:
  45.  
  46. clean:    
  47.         -rm -f *.o core
  48. clobber:
  49.         -rm -f $(ALL)
  50.  
  51. list:
  52.     @for i in ${HFILES} ${CFILES} ${OTHER}; do \
  53.      echo "${START}/$$i"; \
  54.     done    
  55.  
  56. cpio:
  57.     make -s list | cpio -ov > ${CPIO}
  58.  
  59. .PHONY:    install clean clobber list cpio
  60.